package javay.swing;

/**
 * CalcultorConts.
 * @author DBJ
 *
 */
public interface CalcultorConts {

  public static final int  DECIMAL_LEN = 17;
  public static final int  MAX_DOUBLE_SCALE = 14;

  // 控制
  public static final String BINARY = "2进制";
  public static final String OCTAL = "8进制";
  public static final String DECIMAL = "10进制";
  public static final String HEXADECIMAL = "16进制";

  public static final String BACKSPACE = "Backspace";
  public static final String CLEAR_ERROR = "CE";
  public static final String CLEAR = "CL";

  public static final String MC = "MC";
  public static final String MR = "MR";
  public static final String MS = "MS";
  public static final String MP = "M+";
  public static final String MM = "M-";

  // 操作
  public static final String ADD = "＋";
  public static final String SUBTRACT = "－";
  public static final String MULTIPLY = "×";
  public static final String DIVIDE = "÷";
  public static final String MOD = "模";
  public static final String EQUAL = "＝";
  public static final String XY = "mⁿ";

  public static final String X2 = "x²";
  public static final String X3 = "x³";
  public static final String EXP = "exp";

  public static final String DIVIDE1 = "1/x";
  public static final String LN = "ln";
  public static final String LOG = "log";
  public static final String N = "N!";

  public static final String DMS = "dms";
  public static final String SIN = "sin";
  public static final String COS = "cos";
  public static final String TAN = "tan";
  public static final String POS_MINUS = "±";
  public static final String LEFT = "(";
  public static final String RIGHT = ")";
  public static final String INT = "int";
  public static final String AND = "and";
  public static final String OR = "or";
  public static final String XOR = "xor";
  public static final String NOT = "not";
  public static final String LSH = "lsh";
  public static final String RSH = "rsh";

  public static final String SCI = "F-E";
  public static final String AVE = "ave"; // 平均值 The average value
  public static final String SUM = "sum"; // 和
  public static final String SSD = "σ"; //
  public static final String APP = "append"; // 向统计列表里追加元素

  // 数字
  public static final String ZERO = "0";
  public static final String ONE = "1";
  public static final String TWO = "2";
  public static final String THREE = "3";
  public static final String FOUR = "4";
  public static final String FIVE = "5";
  public static final String SIX = "6";
  public static final String SEVEN = "7";
  public static final String EIGHT = "8";
  public static final String NINE = "9";
  public static final String TEN = "A";
  public static final String ELEVEN = "B";
  public static final String TWELVE = "C";
  public static final String THRITEEN = "D";
  public static final String FOURTEEN = "E";
  public static final String FIFTEEN = "F";
  public static final String DOT = ".";

  public static final String TRIGONOMETRIC_FUNCTION = "三角函数";
  public static final String INVERSE = "取反";
  public static final String HYPERBOLIC = "双曲";
  public static final String INPUT = "input";
}
